if ($("#globalMore").size() > 0) {
	$("#globalMore").on("click", function() {
		var b = $("#globalMoreList");
		if (b.hasClass("hide")) {
			b.removeClass("hide")
		} else {
			b.addClass("hide")
		}
	});
	$(document.body).on("click", function(d) {
		var c = d.target ? d.target : d.srcElement;
		if (c) {
			if ($(c).closest("ul.nav-more-list").size() == 0 && $(c).closest("#globalMore").size() == 0) {
				$("#globalMoreList").addClass("hide")
			}
		}
	})
}

if ($("#search-point-mine").size() > 0) {
	$("#search-point-mine").on("click", function() {
		var b = $("#search-point-list");
		if (b.hasClass("hide")) {
			b.removeClass("hide")
		} else {
			b.addClass("hide")
		}
	});
	$(document.body).on("click", function(d) {
		var c = d.target ? d.target : d.srcElement;
		if (c) {
			if ($(c).closest("ul.search-point-li").size() == 0 && $(c).closest("#search-point-mine").size() == 0) {
				$("#search-point-list").addClass("hide")
			}
		}
	})
}